<?php

/*
 * This file is part of the Geek-Zoo Projects.
 *
 * @copyright (c) 2010 Geek-Zoo Projects More info http://www.geek-zoo.com
 * @license http://opensource.org/licenses/gpl-2.0.php The GNU General Public License
 * @author quqiang <quqiang@geek-zoo.com>
 *
 */

require ROOT_PATH.'/Helper/front_base_abstract.php';

abstract class front_abstract extends front_base_abstract
{

    function __construct($controller)
    {
        parent::__construct($controller);
        // if (empty($_SESSION['user'])) {
        //     $this->redirect('login.html');
        // }
        $this->info = $_SESSION['user'];
        $slider = Config::get('slider');
        $this->view->assign('controller', $controller);
        $this->view->assign('slider', $slider);
    }
}


?>